package com.lzy.managersystem.pojo;

import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.Data;

import java.io.Serializable;

/**
 * @TableName sys_role_menu
 */
@TableName(value = "sys_role_menu")
@Data
public class RoleMenu implements Serializable {
    @TableField(exist = false)
    private static final long serialVersionUID = 1L;
    /**
     *
     */
    @TableId
    private Integer roleId;
    /**
     *
     */
    private Integer menuId;

    //多表查询
    @TableField(exist = false)
    private Menu menu;

    @TableField(exist = false)
    private Role role;
}